<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加评论页面</title>
    <style type="text/css" >
        #div1{
            /*border: 2px red solid;*/
            height: 300px;
            width: 600px;
            text-align: center;
            margin: 150px auto;
        }
        #div2{
           /* border: 1px palegreen solid;*/
            height: 200px;
            width: 400px;
            text-align: center;
            margin: auto;
        }
        #text{
            background: #00FFFF;
        }
    </style>
</head>
<body>
<div id="div1">
    <div id="div2">
        <form th:action="@{/addDrug}">
            发布人 <input type="text" name="viewName"><br>
            发布内容  <textarea id="text" name="viewDesc" cols="20" rows="6" placeholder="编写发布内容信息..."></textarea><br>
            <input type="submit" value="添加评论"/>
            <input type="reset" value="重置"/>
            <a th:href="@{/toMyShowing}">返回</a>
        </form>
    </div>
</div>
</body>
</html>